package cn.xy.ymcc.service;

import cn.xy.ymcc.domain.MessageBlacklist;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xy.cao
 * @since 2022-07-19
 */
public interface IMessageBlacklistService extends IService<MessageBlacklist> {
    /**
     * 移除黑名单
     * @param messageBlacklist
     */
    void removeBlock(MessageBlacklist messageBlacklist);

    /**
     * 根据电话查找
     * @param phone
     * @return
     */
    MessageBlacklist selectByPhone(String phone);

}
